package com.tongzhan.entity.screen;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tongzhan.annotation.PrimaryKey;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document(collection = "t_half_year")
public class HalfYear {
    @PrimaryKey
    private String id;//主键id

    private Integer year;

    private String name;

    private String value;

    private Integer is_del;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date add_time;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date upd_time;
}
